//
// Created by Kqj on 25-8-31.
//

#ifndef IPS_LCD_154INCH_MAX6675_H
#define IPS_LCD_154INCH_MAX6675_H

#include <stdbool.h>
#include "stm32f1xx_hal.h"
extern SPI_HandleTypeDef hspi1;

void max6675_init(void);			 //初始化max6675模块
uint8_t max6675_readWriteByte(uint8_t txData); //max6675模块读写一个字节
uint16_t max6675_readRawValue(void);
float max6675_readTemperature(void);

#endif //IPS_LCD_154INCH_MAX6675_H
